package com.free.chat.netty;

import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Configuration;
import org.noear.solon.annotation.Init;

@Configuration
@Slf4j
public class NettyBooter {

    @Init
    public void wsServer() {
        WSServer.getInstance().start();
        log.info("netty websocket server 启动完毕...");
    }
}
